package com.homeWork;

public class Test6 {
    public static void main(String[] args) {
        SmallCar smallCar=new SmallCar(4,5.0,30);
        smallCar.print();
        Truck truck=new Truck(4,20.0,3);
        truck.print();
    }
}
